package com.huawei.designpattern.demeter;

/**
 * @Desc 迪米特法则
 * @Author 阿里P10大神退退
 * @date 2020/4/6 14:01
 */
public class DemeterTest {

    // 核心：最少知道原则

    public static void main(String[] args) {
        TeamLeader teamLeader = new TeamLeader();
        teamLeader.commandCheckNumber(new Employee());
    }
}
